/************************************************************
  *  * EaseMob CONFIDENTIAL 
  * __________________ 
  * Copyright (C) 2013-2014 EaseMob Technologies. All rights reserved. 
  *  
  * NOTICE: All information contained herein is, and remains 
  * the property of EaseMob Technologies.
  * Dissemination of this information or reproduction of this material 
  * is strictly forbidden unless prior written permission is obtained
  * from EaseMob Technologies.
  */

#import <Foundation/Foundation.h>
#import "UIView+FLExtension.h"
#import "EmotionEscape.h"
//#import "ConvertToCommonEmoticonsHelper.h"
#ifndef ChatDemo_UI2_0_ChatDemoUIDefine_h
#define ChatDemo_UI2_0_ChatDemoUIDefine_h

#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )

#define RGBACOLOR(r,g,b,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]

#define KNOTIFICATION_LOGINCHANGE @"loginStateChange"
#define KNOTIFICATION_CHAT @"chat"
#define KNOTIFICATION_SETTINGCHANGE @"settingChange"
#define KNOTIFICATION_ADDMSG_TO_LIST @"addmsgtolist"
#define CHATVIEWBACKGROUNDCOLOR [UIColor colorWithRed:0.936 green:0.932 blue:0.907 alpha:1]

//商城默认配置
//#define kDefaultAppKey @"1141161024115978#kefuchannelapp29593"
#define kDefaultAppKey @"1111170503178206#kefuchannelapp40770"
//#define kDefaultCustomerName @"kefuchannelimid_012680"
#define kDefaultCustomerName @"kefuchannelimid_107579"
#define kDefaultTenantId  @"40770";
#define kDefaultProjectId @"1458046";

#define kAppKey @"CSEM_appkey"
#define kCustomerName @"CSEM_name"
#define kCustomerNickname @"CSEM_nickname"
#define kCustomerTenantId @"CSEM_tenantId"
#define kCustomerProjectId @"CSEM_projectId"


#define KScreenHeight [[UIScreen mainScreen] bounds].size.height
#define KScreenWidth  [[UIScreen mainScreen] bounds].size.width
#define kWeakSelf typeof(self) __weak weakSelf = self;

#endif
